TrackedObject <Clone>$()

robot_2Generated
code_blocksInput

Description

The Clone method is a virtual method of the TrackedObject class in the Sandbox.VR namespace. This method is used to create a copy of the current TrackedObject instance. It is marked as compiler-generated, indicating that it is automatically generated by the compiler and not intended to be directly invoked by user code.

Usage

To use the Clone method, you should call it on an instance of TrackedObject. This will return a new TrackedObject that is a copy of the original. This can be useful when you need to duplicate the state of a tracked object without affecting the original instance.

Example

// Assuming 'trackedObject' is an instance of TrackedObject
TrackedObject clonedObject = trackedObject.Clone();

// Now 'clonedObject' is a copy of 'trackedObject'